package com.twu.biblioteca;

/**
 * Created by kathy on 17/04/14.
 */
public class User {

    private StringBuilder id;
    private StringBuilder name;
    private StringBuilder email;
    private StringBuilder phone;
    private StringBuilder password;

    public User(StringBuilder id, StringBuilder name,
                StringBuilder email, StringBuilder phone,
                StringBuilder password){

        this.id = id;
        this.name = name;
        this.email = email;
        this.phone = phone;
        this.password = password;
    }

    public void printUser(){
        System.out.print("User Id " + id + "\n");
        System.out.print("Username " + name + "\n");
        System.out.print("Email address " + email + "\n");
        System.out.print("Phone number " + phone + "\n");
    }

    public StringBuilder getId(){
        return  this.id;
    }
    public StringBuilder getPassword(){
        return  this.password;
    }
}
